﻿using AutoMapper;
using DongFangGuoKai.WMSPlatform.Domain.Models;
using DongFangGuoKai.WMSPlatform.Service.ReceBill.Dto;
using DongFangGuoKai.WMSPlatform.Service.User.DTO;

namespace DongFangGuoKai.WMSPlatform.Service
{
    public class WMSPlatformProfile : Profile
    {
        public WMSPlatformProfile()
        {
          
            CreateMap<TReceivingBillDetail, ReceivingBillDetailDto>().ReverseMap();
            

            CreateMap<TUser, UserRoleDTO>().ReverseMap();//用户
            CreateMap<TReceivingBillDetail, ReceivingBillDto>().ReverseMap();   
        }
    }
}
